package com.mumu.studykotlin.obj

import com.mumu.studykotlin.gra.Son
import com.mumu.studykotlin.gra.Week
import com.mumu.studykotlin.obj.woman.WomanDemo
import org.junit.Test

/**
 *edie create on 2019/8/2
 *
 */
class ChildTest {
    @Test
    fun _test1() {
        val child = Child()
        child.drank()
        println("${child.like},${child.character}")
    }

    @Test
    fun _test2() {
        WomanDemo("老女人").drank()
    }

    @Test
    fun _test3() {
        BigHeadSon.washing()
        SmallHeadFather().washing()
        println(Week.W3.i)
    }

    @Test
    fun _test4() {
        val son1 = Son.Donkey()
        val son2 = Son.Horse()
        son1.hello()
        son2.hello()
    }
}